package com.union.vehicleassistant.http.api;

import com.google.gson.annotations.SerializedName;
import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;

import java.io.Serializable;

public class MailDetailApi implements IRequestApi {
    @Override
    public String getApi() {
        return "/oa/oaEmails/updateEmailStatus/" + id;
    }

    @HttpIgnore
    private String id;

    public MailDetailApi setId(String id) {
        this.id = id;
        return this;
    }

    public static class Bean implements Serializable {

        @SerializedName("remark")
        private String remark;
        @SerializedName("createBy")
        private String createBy;
        @SerializedName("createTime")
        private long createTime;
        @SerializedName("lastModifyBy")
        private String lastModifyBy;
        @SerializedName("lastModifyTime")
        private long lastModifyTime;
        @SerializedName("id")
        private int id;
        @SerializedName("recipients")
        private String recipients;
        @SerializedName("recipientIds")
        private String recipientIds;
        @SerializedName("ccRecipients")
        private String ccRecipients;
        @SerializedName("ccRecipientIds")
        private String ccRecipientIds;
        @SerializedName("emailUserIds")
        private String emailUserIds;
        @SerializedName("emailUsernames")
        private String emailUsernames;
        @SerializedName("sender")
        private String sender;
        @SerializedName("senderId")
        private int senderId;
        @SerializedName("title")
        private String title;
        @SerializedName("attachments")
        private String attachments;
        @SerializedName("fileName")
        private String fileName;
        @SerializedName("content")
        private String content;
        @SerializedName("signature")
        private String signature;
        @SerializedName("enableSignature")
        private String enableSignature;
        @SerializedName("emailFlag")
        private String emailFlag;
        @SerializedName("folderId")
        private Object folderId;
        @SerializedName("smsNotification")
        private int smsNotification;
        @SerializedName("deletedIds")
        private String deletedIds;
        @SerializedName("completelyDeletedIds")
        private String completelyDeletedIds;
        @SerializedName("isDraft")
        private int isDraft;
        @SerializedName("emailAction")
        private int emailAction;
        @SerializedName("sendTime")
        private String sendTime;
        @SerializedName("modifyTime")
        private long modifyTime;
        @SerializedName("deleteTime")
        private long deleteTime;

        public String getRemark() {
            return remark;
        }

        public String getCreateBy() {
            return createBy;
        }

        public long getCreateTime() {
            return createTime;
        }

        public String getLastModifyBy() {
            return lastModifyBy;
        }

        public long getLastModifyTime() {
            return lastModifyTime;
        }

        public int getId() {
            return id;
        }

        public String getRecipients() {
            return recipients;
        }

        public String getRecipientIds() {
            return recipientIds;
        }

        public String getCcRecipients() {
            return ccRecipients;
        }

        public String getCcRecipientIds() {
            return ccRecipientIds;
        }

        public String getEmailUserIds() {
            return emailUserIds;
        }

        public String getEmailUsernames() {
            return emailUsernames;
        }

        public String getSender() {
            return sender;
        }

        public int getSenderId() {
            return senderId;
        }

        public String getTitle() {
            return title;
        }

        public String getAttachments() {
            return attachments;
        }

        public String getFileName() {
            return fileName;
        }

        public String getContent() {
            return content;
        }

        public String getSignature() {
            return signature;
        }

        public String getEnableSignature() {
            return enableSignature;
        }

        public String getEmailFlag() {
            return emailFlag;
        }

        public Object getFolderId() {
            return folderId;
        }

        public int getSmsNotification() {
            return smsNotification;
        }

        public String getDeletedIds() {
            return deletedIds;
        }

        public String getCompletelyDeletedIds() {
            return completelyDeletedIds;
        }

        public int getIsDraft() {
            return isDraft;
        }

        public int getEmailAction() {
            return emailAction;
        }

        public String getSendTime() {
            return sendTime;
        }

        public long getModifyTime() {
            return modifyTime;
        }

        public long getDeleteTime() {
            return deleteTime;
        }
    }
}
